package com.shuda.common.dto;

import io.swagger.v3.oas.annotations.media.Schema;

/**
 * 分配记录DTO：移除Lombok，显式提供访问器，保证跨模块兼容。
 */
@Schema(description = "分配记录DTO")
public class AllocationRecordDTO {

    @Schema(description = "客户ID")
    private Long customerId;

    @Schema(description = "客户姓名")
    private String customerName;

    @Schema(description = "客户手机号")
    private String customerPhone;

    @Schema(description = "原分配用户ID")
    private Long originalUserId;

    @Schema(description = "原分配用户姓名")
    private String originalUserName;

    @Schema(description = "目标用户ID")
    private Long targetUserId;

    @Schema(description = "目标用户姓名")
    private String targetUserName;

    @Schema(description = "分配原因")
    private String allocationReason;

    @Schema(description = "备注")
    private String remark;

    @Schema(description = "分配时间")
    private String allocationTime;

    @Schema(description = "操作人")
    private String operator;

    /**
     * 以下为显式getter/setter，确保Service层可正常访问
     */
    public Long getCustomerId() { return customerId; }
    public void setCustomerId(Long customerId) { this.customerId = customerId; }

    public String getCustomerName() { return customerName; }
    public void setCustomerName(String customerName) { this.customerName = customerName; }

    public String getCustomerPhone() { return customerPhone; }
    public void setCustomerPhone(String customerPhone) { this.customerPhone = customerPhone; }

    public Long getOriginalUserId() { return originalUserId; }
    public void setOriginalUserId(Long originalUserId) { this.originalUserId = originalUserId; }

    public String getOriginalUserName() { return originalUserName; }
    public void setOriginalUserName(String originalUserName) { this.originalUserName = originalUserName; }

    public Long getTargetUserId() { return targetUserId; }
    public void setTargetUserId(Long targetUserId) { this.targetUserId = targetUserId; }

    public String getTargetUserName() { return targetUserName; }
    public void setTargetUserName(String targetUserName) { this.targetUserName = targetUserName; }

    public String getAllocationReason() { return allocationReason; }
    public void setAllocationReason(String allocationReason) { this.allocationReason = allocationReason; }

    public String getRemark() { return remark; }
    public void setRemark(String remark) { this.remark = remark; }

    public String getAllocationTime() { return allocationTime; }
    public void setAllocationTime(String allocationTime) { this.allocationTime = allocationTime; }

    public String getOperator() { return operator; }
    public void setOperator(String operator) { this.operator = operator; }
}